from app.modules.apps.container_httpd import HttpdPhpApp

httpd = HttpdPhpApp(app_id='gzidc:booking', app_name='booking',
                    zone_home_path='/usr/local/app/uc.gzidc.area',
                    zone_alias='gzidc',
                    port='1580',
                    sub_doc_dir='/Agent',
                    nas_app_package_path='/usr/local/Beetle/projects/booking/booking_1.0.5_ExperienceOptimization_p2/20161018-114246/target')

httpd.uninstall_app()
httpd.install_app()
httpd.restart()
